/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tasks.ui;

/**
 *
 * @author David
 */
import java.io.*;

public class XMLFileFilter extends javax.swing.filechooser.FileFilter {

    @Override
    public boolean accept(File f) {
        return f.isDirectory() || f.getName().toLowerCase().endsWith(".xml");
    }

    @Override
    public String getDescription() {
        return ".xml files";
    }
}
